﻿using System;
namespace Pay.DTO.rpay4511 {
	/// <summary>
	/// 快捷支付短信请求
	/// </summary>
	public class rpay4511_kjsms_req : rpay4511_req_base {
		public rpay4511_kjsms_req() {
			pay_type = "11104";
		}
		/// <summary>
		/// 商户号
		/// </summary>
		public string pay_type { get; set; }
		/// <summary>
		/// 商户号
		/// </summary>
		public string mch_id { get; set; }
		/// <summary>
		/// 订单号
		/// </summary>
		public string out_order_no { get; set; }
		/// <summary>
		/// 金额(分)
		/// </summary>
		public string total_fee { get; set; }
		/// <summary>
		/// 支付卡预留手机号(只支持信 用卡支付)
		/// </summary>
		public string phoneNo { get; set; }
		/// <summary>
		/// 支付卡姓名
		/// </summary>
		public string customerName { get; set; }
		/// <summary>
		/// 支付卡身份证号
		/// </summary>
		public string cerdId { get; set; }
		/// <summary>
		/// 支付卡号(信用卡)
		/// </summary>
		public string acctNo { get; set; }
		/// <summary>
		/// 信用卡 cvv
		/// </summary>
		public string cvn2 { get; set; }
		/// <summary>
		/// 信用卡有效期
		/// </summary>
		public string expDate { get; set; }
		/// <summary>
		/// 银行代码:如102
		/// </summary>
		public string bankcode { get; set; }
		/// <summary>
		/// 银行代号：如ICBC
		/// </summary>
		public string bankabbr { get; set; }
		/// <summary>
		/// 商品名称
		/// </summary>
		public string productname { get; set; }
		/// <summary>
		/// 商品描述
		/// </summary>
		public string productdesc { get; set; }
		/// <summary>
		/// 通知地址
		/// </summary>
		public string notify_url { get; set; }
	}

	/// <summary>
	/// 快捷支付短信响应
	/// </summary>
	public class rpay4511_kjsms_resp : rpay4511_resp_base {
		/// <summary>
		/// 外部订单号
		/// </summary>
		public string out_order_no { get; set; }
		/// <summary>
		/// 订单号
		/// </summary>
		public string order_no { get; set; }
	}

	/// <summary>
	/// 快捷支付请求
	/// </summary>
	public class rpay4511_kj_req : rpay4511_req_base {
		public rpay4511_kj_req() {
			pay_type = "11105";
		}
		/// <summary>
		/// 请求类型
		/// </summary>
		public string pay_type { get; set; }
		/// <summary>
		/// 商户号
		/// </summary>
		public string mch_id { get; set; }
		/// <summary>
		/// 订单号
		/// </summary>
		public string order_no { get; set; }
		/// <summary>
		/// 短信码
		/// </summary>
		public string sms_code { get; set; }
	}

	/// <summary>
	/// 快捷支付响应
	/// </summary>
	public class rpay4511_kj_resp : rpay4511_resp_base {
		/// <summary>
		/// 外部订单号
		/// </summary>
		public string out_order_no { get; set; }
		/// <summary>
		/// 订单号
		/// </summary>
		public string order_no { get; set; }
		/// <summary>
		/// 支付金额
		/// </summary>
		public string total_fee { get; set; }
	}

	/// <summary>
	/// 快捷支付查询请求
	/// </summary>
	public class rpay4511_kjquery_req : rpay4511_req_base {
		public rpay4511_kjquery_req() {
			pay_type = "10804";
		}
		/// <summary>
		/// 请求类型
		/// </summary>
		public string pay_type { get; set; }
		/// <summary>
		/// 商户号
		/// </summary>
		public string mch_id { get; set; }
		/// <summary>
		/// 外部订单号
		/// </summary>
		public string out_order_no { get; set; }
		/// <summary>
		/// 支付平台订单号
		/// </summary>
		public string order_no { get; set; }
	}

	/// <summary>
	/// 快捷支付查询响应
	/// </summary>
	public class rpay4511_kjquery_resp : rpay4511_resp_base {
		/// <summary>
		/// 外部订单号
		/// </summary>
		public string out_order_no { get; set; }
		/// <summary>
		/// 支付平台订单号
		/// </summary>
		public string order_no { get; set; }
		/// <summary>
		/// 订单状态0: 已下单 1:已受理 2: 请求预支付 3:请求失败 4:支付中 5: 支付成功 6:支付失败 7:超时关闭
		/// </summary>
		public string order_status { get; set; }
		/// <summary>
		/// 交易金额
		/// </summary>
		public string total_fee { get; set; }
		/// <summary>
		/// 交易时间：yyyymmddhhmmss
		/// </summary>
		public string terminal_time { get; set; }
		/// <summary>
		/// 支付完成时间：yyyymmddhhmmss
		/// </summary>
		public string notify_time { get; set; }
	}
}
